package com.youmingxing.bean.selfinfo;

import org.json.JSONObject;

/**
 * JHS
 * 15/9/17
 * 我的海选
 * edited by ChenZhixi
 */
public class MessageList {
    public int apply_id;
    public String apply_time;
    public int status;
    public int u_id;
    public String nickname;
    public String headimg;
    public String motto;
    public int votes;
    public int rank;

    public MessageList(JSONObject object) {
        apply_id = object.optInt("apply_id");
        apply_time = object.optString("apply_time");
        status = object.optInt("status");//-1未开始 0进行中 1结束结果确认中 2结束进入海选 3结束未进入海选
        u_id = object.optInt("u_id");
        nickname = object.optString("u_name");
        headimg = object.optString("headimg");
        motto = object.optString("motto");
        votes = object.optInt("votes");
        rank = object.optInt("rank");
    }
}
